﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000553 RID: 1363
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightHeartBeatCsReq : IMessage<FightHeartBeatCsReq>, IMessage, IEquatable<FightHeartBeatCsReq>, IDeepCloneable<FightHeartBeatCsReq>, IBufferMessage
	{
		// Token: 0x1700118E RID: 4494
		// (get) Token: 0x06003D53 RID: 15699 RVA: 0x000A8F60 File Offset: 0x000A7160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightHeartBeatCsReq> Parser
		{
			get
			{
				return FightHeartBeatCsReq._parser;
			}
		}

		// Token: 0x1700118F RID: 4495
		// (get) Token: 0x06003D54 RID: 15700 RVA: 0x000A8F67 File Offset: 0x000A7167
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightHeartBeatCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001190 RID: 4496
		// (get) Token: 0x06003D55 RID: 15701 RVA: 0x000A8F79 File Offset: 0x000A7179
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightHeartBeatCsReq.Descriptor;
			}
		}

		// Token: 0x06003D56 RID: 15702 RVA: 0x000A8F80 File Offset: 0x000A7180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightHeartBeatCsReq()
		{
		}

		// Token: 0x06003D57 RID: 15703 RVA: 0x000A8F88 File Offset: 0x000A7188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightHeartBeatCsReq(FightHeartBeatCsReq other) : this()
		{
			this.clientTimeMs_ = other.clientTimeMs_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003D58 RID: 15704 RVA: 0x000A8FAD File Offset: 0x000A71AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightHeartBeatCsReq Clone()
		{
			return new FightHeartBeatCsReq(this);
		}

		// Token: 0x17001191 RID: 4497
		// (get) Token: 0x06003D59 RID: 15705 RVA: 0x000A8FB5 File Offset: 0x000A71B5
		// (set) Token: 0x06003D5A RID: 15706 RVA: 0x000A8FBD File Offset: 0x000A71BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ClientTimeMs
		{
			get
			{
				return this.clientTimeMs_;
			}
			set
			{
				this.clientTimeMs_ = value;
			}
		}

		// Token: 0x06003D5B RID: 15707 RVA: 0x000A8FC6 File Offset: 0x000A71C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightHeartBeatCsReq);
		}

		// Token: 0x06003D5C RID: 15708 RVA: 0x000A8FD4 File Offset: 0x000A71D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightHeartBeatCsReq other)
		{
			return other != null && (other == this || (this.ClientTimeMs == other.ClientTimeMs && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003D5D RID: 15709 RVA: 0x000A9004 File Offset: 0x000A7204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ClientTimeMs != 0UL)
			{
				num ^= this.ClientTimeMs.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003D5E RID: 15710 RVA: 0x000A9043 File Offset: 0x000A7243
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003D5F RID: 15711 RVA: 0x000A904B File Offset: 0x000A724B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003D60 RID: 15712 RVA: 0x000A9054 File Offset: 0x000A7254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ClientTimeMs != 0UL)
			{
				output.WriteRawTag(48);
				output.WriteUInt64(this.ClientTimeMs);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003D61 RID: 15713 RVA: 0x000A9088 File Offset: 0x000A7288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ClientTimeMs != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ClientTimeMs);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003D62 RID: 15714 RVA: 0x000A90C6 File Offset: 0x000A72C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightHeartBeatCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ClientTimeMs != 0UL)
			{
				this.ClientTimeMs = other.ClientTimeMs;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003D63 RID: 15715 RVA: 0x000A90F7 File Offset: 0x000A72F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003D64 RID: 15716 RVA: 0x000A9100 File Offset: 0x000A7300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ClientTimeMs = input.ReadUInt64();
				}
			}
		}

		// Token: 0x04001861 RID: 6241
		private static readonly MessageParser<FightHeartBeatCsReq> _parser = new MessageParser<FightHeartBeatCsReq>(() => new FightHeartBeatCsReq());

		// Token: 0x04001862 RID: 6242
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001863 RID: 6243
		public const int ClientTimeMsFieldNumber = 6;

		// Token: 0x04001864 RID: 6244
		private ulong clientTimeMs_;
	}
}
